//
//  ImageUI.swift
//  uiKit-demo
//
//  Created by 陈澎 on 2024/12/23.
//
import UIKit
import Foundation
public class MyImageUI: UIViewController{
    func render(_ self: AnyObject) {
        // 通过图片素材名称创建
        let image = UIImage(named: "jiulong")
        let myImageView = UIImageView(image: image)
        myImageView.frame = CGRect(x: 20, y: 550, width: 200, height: 300)
        self.addSubview(myImageView)
    }
}
